package edu.misaka.moe.dao.iface;

import java.util.List;
import java.util.Map;

import edu.misaka.moe.domain.Page;
import edu.misaka.moe.domain.UMQueryKeyword;
import edu.misaka.moe.domain.User;
import edu.misaka.moe.domain.UserDetail;

public interface UserDao  {
	public int queryUser(String name,String password);
	public int upUser(User user);
	public int upUserDetail(UserDetail ud);
	
	public void queryByPage(Page<List<Map<String,Object>>> page);
	public void getTotalRow(Page<List<Map<String,Object>>> page);
	
	public void queryByPage(Page<List<Map<String,Object>>> page ,UMQueryKeyword qk);
	public void getTotalRow(Page<List<Map<String,Object>>> page ,UMQueryKeyword qk);
}
